package com.firebird.app.kotlin.stock.data


class DetailsDealBean {
    /**
     * respDesc : 操作成功
     * bpAmt : 10000.00
     * serviceAmt : 30.00
     * orderNo : 201912061423
     * warningAmt : 10502.50
     * endDate : 2019-12-11
     * bpType : 1
     * bpAround : 2
     * positions : [{"sharesCode":"600123","buyPrice":"6.24","nowPrice":"6.24","marketVal":"624.00","sharesId":50,"earnAmt":"0.13","nowNum":100,"sharesName":"兰花科创","bpFundsRId":59,"earnAmtRatio":0.02,"canSellNum":100}]
     * positionRatio : 5.70
     * closeAmt : 10301.50
     * useBalance : 10321.13
     * totMarketVal : 624.00
     * totStockAmt : 11005.00
     * positionVal : 10945.13
     * guaranteeAmt : 1005.00
     * respCode : ZB0000
     * startDate : 2019-12-06
     * totEarnAmt : -59.87
     */
    var respDesc: String? = null
    var bpAmt: String? = null
    var serviceAmt: String? = null
    var orderNo: String? = null
    var warningAmt: String? = null
    var endDate: String? = null
    var bpType = 0
    var bpAround = 0
    var positionRatio: String? = null
    var closeAmt: String? = null
    var useBalance: String? = null
    var totMarketVal: String? = null
    var totStockAmt: String? = null
    var positionVal: String? = null
    var guaranteeAmt: String? = null
    var respCode: String? = null
    var startDate: String? = null
    var totEarnAmt: String? = null
    var positions: List<PositionsBean>? = null

    class PositionsBean {
        /**
         * sharesCode : 600123
         * buyPrice : 6.24
         * nowPrice : 6.24
         * marketVal : 624.00
         * sharesId : 50
         * earnAmt : 0.13
         * nowNum : 100
         * sharesName : 兰花科创
         * bpFundsRId : 59
         * earnAmtRatio : 0.02
         * canSellNum : 100
         */
        var sharesCode: String? = null
        var buyPrice: String? = null
        var nowPrice: String? = null
        var marketVal: String? = null
        var sharesId = 0
        var earnAmt: String? = null
        var nowNum = 0
        var sharesName: String? = null
        var bpFundsRId = 0
        var earnAmtRatio = 0.0
        var canSellNum = 0

    }
}